package com.sdkj.Entity.sys;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.sdkj.Entity.BaseEntity;
/**
 * 拓展前台导航菜单
 * @author admin
 *
 */
@Entity
@Table(name="sys_navmenu")
public class NavMenu extends BaseEntity {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String toHref;
	private String sortNo;
	private String name;
	public void setToHref(String toHref) {
		this.toHref = toHref;
	}
	public void setSortNo(String sortNo) {
		this.sortNo = sortNo;
	}
	public void setName(String name) {
		this.name = name;
	}
	@Column(length=200)
	public String getToHref() {
		return toHref;
	}
	@Column(length=20)
	public String getSortNo() {
		return sortNo;
	}
	@Column(length=20)
	public String getName() {
		return name;
	}
	public NavMenu() {
		super();
	}
	public NavMenu(String uuid, Date createTime) {
		super(uuid, createTime);
	}
	public NavMenu(String toHref, String sortNo, String name) {
		super();
		this.toHref = toHref;
		this.sortNo = sortNo;
		this.name = name;
	}
	@Override
	public String toString() {
		return "NavMenu [toHref=" + toHref + ", sortNo=" + sortNo + ", name="
				+ name + "]";
	}
	
	
	

}
